package cn.edu.hitwh.kanlema.service;

import cn.edu.hitwh.kanlema.dto.Result;
import cn.edu.hitwh.kanlema.dto.UserDTO;
import cn.edu.hitwh.kanlema.entity.Follow;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author vvcoder
 * @since 2025-8-18
 */
public interface IFollowService extends IService<Follow> {

    boolean follow(Long id, Boolean follow);

    boolean isFollow(Long id);

    List<UserDTO> commonFollow(Long id);
}
